package ro.gateway.aida.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * 
 * @author Mihai Postelnicu<p>
 *	Used by admin listers
 *  e-mail (mihai@ro-gateway.org)<br>
 * (c) 2003 by eRomania Gateway<p>
 */
public class EditProjectFilterForm extends ActionForm {
    // --------------------------------------------------------- Instance Variables
	protected int sector;
	protected String title;
	protected String description;
	protected long fundingOrg;
	protected long contractingOrg;
	protected long donorOrg;
	protected long beneficiaryOrg;
	protected long involvedPerson;
	protected String keywords;
	protected String country_iso3;
	protected long alerterId;
	protected long id;
	protected int stat;

    // --------------------------------------------------------- Methods

    /**
     * Method reset
     * @param ActionMapping mapping
     * @param HttpServletRequest request
     */
    public void reset(ActionMapping mapping, HttpServletRequest request) {
    	sector=-1;
    	title="";
    	description="";
    	fundingOrg=-1;
    	contractingOrg=-1;
    	donorOrg=-1;
    	beneficiaryOrg=-1;
    	involvedPerson=-1;
    	keywords="";
    	country_iso3="";
    	stat=-1;
    	alerterId=-1;
    	id=-1;
    }
	
	/**
	 * @return
	 */
	public long getBeneficiaryOrg() {
		return beneficiaryOrg;
	}

	/**
	 * @return
	 */
	public long getContractingOrg() {
		return contractingOrg;
	}

	/**
	 * @return
	 */
	public String getCountry_iso3() {
		return country_iso3;
	}

	/**
	 * @return
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return
	 */
	public long getDonorOrg() {
		return donorOrg;
	}

	/**
	 * @return
	 */
	public long getFundingOrg() {
		return fundingOrg;
	}

	/**
	 * @return
	 */
	public long getInvolvedPerson() {
		return involvedPerson;
	}

	/**
	 * @return
	 */
	public String getKeywords() {
		return keywords;
	}

	/**
	 * @return
	 */
	public int getSector() {
		return sector;
	}

	/**
	 * @return
	 */
	public int getStat() {
		return stat;
	}

	/**
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param l
	 */
	public void setBeneficiaryOrg(long l) {
		beneficiaryOrg = l;
	}

	/**
	 * @param l
	 */
	public void setContractingOrg(long l) {
		contractingOrg = l;
	}

	/**
	 * @param string
	 */
	public void setCountry_iso3(String string) {
		country_iso3 = string;
	}

	/**
	 * @param string
	 */
	public void setDescription(String string) {
		description = string;
	}

	/**
	 * @param l
	 */
	public void setDonorOrg(long l) {
		donorOrg = l;
	}

	/**
	 * @param l
	 */
	public void setFundingOrg(long l) {
		fundingOrg = l;
	}

	/**
	 * @param l
	 */
	public void setInvolvedPerson(long l) {
		involvedPerson = l;
	}

	/**
	 * @param string
	 */
	public void setKeywords(String string) {
		keywords = string;
	}

	/**
	 * @param i
	 */
	public void setSector(int i) {
		sector = i;
	}

	/**
	 * @param i
	 */
	public void setStat(int i) {
		stat = i;
	}

	/**
	 * @param string
	 */
	public void setTitle(String string) {
		title = string;
	}

	/**
	 * @return
	 */
	public long getId() {
		return id;
	}

	

	/**
	 * @param l
	 */
	public void setId(long l) {
		id = l;
	}

	/**
	 * @return
	 */
	public long getAlerterId() {
		return alerterId;
	}

	/**
	 * @param l
	 */
	public void setAlerterId(long l) {
		alerterId = l;
	}

}
